package com.small.account.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 权限分组
 *
 * @author wangguochao
 */
@AllArgsConstructor
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AuPermissionGroupsEnum {
    APP("APP", "客户端"),
    RESOURCES("RESOURCES", "权限"),
    MENU("MENU", "菜单"),
    BTN("BTN", "按钮");
    @EnumValue
    private final String code;
    private final String desc;
}
